/*
* OverDraftLimitExceededException
*
* r3
*
* GNU General Public License v3.0
*/

package com.acme.bankapp.exceptions;

import com.acme.bankapp.domain.account.*;

public class OverDraftLimitExceededException extends NotEnoughFundsException {
	
	private double overDraftLimit;
	
	public OverDraftLimitExceededException (final Account account, final double amount, final double overDraftLimit) {
		super(account, amount);
		
		this.overDraftLimit = overDraftLimit;
	}
	
	public double getOverDraftLimit() {
		return overDraftLimit;
	}
}
